using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace MsgLogic
{
    [Serializable]
    public class TextMsg : InfoMsg
    {
        private string txt;
        private Color msgColor;

        public Color MsgColor
        {
            get { return msgColor; }
            set { msgColor = value; }
        }

        public string Txt
        {
            get { return txt; }
            set { txt = value; }
        }

        public TextMsg(string userName, string txt, Color msgColor)
            :base(userName)
        {
            this.txt = txt;
            this.msgColor = msgColor;
        }

    }
}
